using System;
using System.ComponentModel.Design;

namespace Camalon.Drawing.Design
{
	public sealed class VectorShapeCollectionEditor:System.ComponentModel.Design.CollectionEditor
	{
		private Type[] _supportedTypes = null;

		public VectorShapeCollectionEditor(Type type):base(type)
		{
			_supportedTypes = new Type[]{typeof( Camalon.Drawing.Shapes.Bezier ),typeof( Camalon.Drawing.Shapes.Line), typeof( Camalon.Drawing.Shapes.Curve)};
		}

		protected override Type[] CreateNewItemTypes()
		{ 
			return _supportedTypes; 
		}


	}
}
